package com.haiyou.data.sdk.account;


import com.haiyou.common.entity.Entity;
import com.haiyou.common.jdbc.DbType;
import com.haiyou.data.common.cache.redis.redisson.annotation.RDatabase;
import com.haiyou.data.common.persister.mysql.annotation.Comment;
import com.haiyou.data.common.persister.mysql.annotation.Database;
import com.haiyou.data.common.persister.mysql.annotation.Id;
import com.haiyou.data.common.persister.mysql.annotation.Table;
import lombok.*;

/**
 * 
 * @Description: 映射数据表
 * @author xingyuan
 * @date 2022年10月24日 下午4:10:50
 */
@NoArgsConstructor
@AllArgsConstructor
@ToString
@Getter
@Setter
@Database(alias = DbType.SDK)
@RDatabase(alias = DbType.SDK)
@Table(name = "t_uid")
public class UidTable implements Entity<Long>{

	/**
	 * uid
	 */
	@Id
	private Long id;

	@Comment("uid")
	private long uid;

	@Comment("playerId")
	private long playerId;

}
